#include "SIList.h"

void test0()
{
	SIL* plist = NULL;
	SILPushBack(&plist, 1);
	SILPushBack(&plist, 2);
	SILPushBack(&plist, 3);
	SILPushBack(&plist, 4);
	SILPrint(plist);


	//SILPushFront(&plist, 5);
	//SILPrint(plist);
	//SILPushFront(&plist, 6);
	//SILPrint(plist);
	//SILPushFront(&plist, 7);
	//SILPrint(plist);

	//SILPopBack(&plist);
	//SILPrint(plist);
	/*SILPopFront(&plist);
	SILPrint(plist);
	SILPopFront(&plist);
	SILPrint(plist);
	SILPopFront(&plist);
	SILPrint(plist);
	SILPopFront(&plist);
	SILPrint(plist);
	SILPopFront(&plist);
	SILPrint(plist);*/
	//SIL* FindRet = SILFind(&plist, 4);

	////SILInsertFront(&plist, FindRet, 100);
	////SILPrint(plist);
	////SILInsertBack( FindRet, 100);
	////SILPrint(plist);

	///*SILErase(&plist, FindRet);
	//SILPrint(plist);*/

	//SILEraseBack(FindRet);
	//SILPrint(plist);
	SILDestroy(&plist);
}

int main()
{
	test0();
	return 0;
}